package entities;

/**
 * @author HungVM
 * @version 1.0
 * @created 12-Thg10-2011 10:44:30 CH
 */
public class Branch {

    private String address;
    private int branchId;
    private String branchName;
    private String description;
    private String phoneNumber;
    private boolean status;

    public Branch(){

    }

    public Branch( int branchId,String branchName ,String address, String phoneNumber, String description, boolean status) {
        this.address = address;
        this.branchId = branchId;
        this.branchName = branchName;
        this.description = description;
        this.phoneNumber = phoneNumber;
        this.status = status;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getBranchId() {
        return branchId;
    }

    public void setBranchId(int branchId) {
        this.branchId = branchId;
    }

    public String getBranchName() {
        return branchName;
    }

    public void setBranchName(String branchName) {
        this.branchName = branchName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
 
    @Override
    public String toString(){
        return branchName;
    }

}